package cn.zl.ymcc.dto;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RegisterDto {
    @NotEmpty(message = "手机号不能为空")
   private String mobile;
    @NotEmpty(message = "密码不能为空")
   private String password;
    @NotNull(message = "注册渠道不能为空")
   private int regChannel;
    @NotEmpty(message = "验证码不能为空")
   private String smsCode;


}
